<template>
	<view>
		<view class="top">
			<image class="logo-bar" :src="topUrl" mode=""></image>
		</view>
	</view>
</template>

<script>
	export default {
		name:"top-bar",
		data() {
			return {
				topUrl: this.$resource.topUrl,
			};
		},
		mounted() {
			uni.$once('site-init', () => {
				this.topUrl = this.$resource.topUrl;
			})
		}
		
	}
</script>

<style>
.logo-bar{
	margin: 20rpx 0 0 100rpx;
	width: 220rpx;
	height: 100rpx; 
}
</style>